home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
progutil
/
stdwin.zoo
/
atari
/
atari_proto.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-03-30
|
5KB
|
130 lines
#ifdef __STDC__
# define P(s) s
#else
# define P(s) ()
#endif
/* about.c */
/* dialog.c */
int waskfile P((char *prompt , char *buf , int buflen , int new ));
TEDINFO *tedinfo P((char *buf , int len ));
OBJECT *str_obj P((char *prompt , char *buf , int buflen ));
int waskstr P((char *prompt , char *buf , int buflen ));
int waskync P((char *question , int def ));
void wmessage P((char *str ));
/* document.c */
void wchange P((WINDOW *win , int left , int top , int right , int bottom ));
void wgetchange P((WINDOW *win , int *pleft , int *ptop , int *pright , int *pbottom ));
void wupdate P((WINDOW *win ));
void wsetorigin P((WINDOW *win , int h , int v ));
void wgetwinorigin P((WINDOW *win , int *ph , int *pv ));
void wsetdocsize P((WINDOW *win , int width , int height ));
void wshow P((WINDOW *win , int left , int top , int right , int bottom ));
void setclip P((WINDOW *win , int flag , int left , int top , int right , int bottom ));
int intersect P((int *src , int *dest ));
/* draw.c */
void wsetwintextattr P((WINDOW *win , TEXTATTR *attr ));
void wgetwintextattr P((WINDOW *win , TEXTATTR *attr ));
void wbegindrawing P((WINDOW *win ));
void wenddrawing P((WINDOW *win ));
int wdrawtext P((int h , int v , char *str , int len ));
int wdrawchar P((int h , int v , int c ));
void wdrawline P((int beg_h , int beg_v , int end_h , int end_v ));
void wxorline P((int beg_h , int beg_v , int end_h , int end_v ));
void wdrawbox P((int left , int top , int right , int bottom ));
void wdrawcircle P((int h , int v , int radius ));
void werase P((int left , int top , int right , int bottom ));
void wpaint P((int left , int top , int right , int bottom ));
void wshade P((int left , int top , int right , int bottom , int perc ));
void winvert P((int left , int top , int right , int bottom ));
void showcaret P((void ));
void rmcaret P((void ));
void wsetcaret P((WINDOW *win , int h , int v ));
void wnocaret P((WINDOW *win ));
/* event.c */
void wungetevent P((EVENT *ep ));
void wgetevent P((EVENT *ep ));
/* menu.c */
void initmbar P((WINDOW *win ));
void initglobmenus P((void ));
void addtobar P((struct menubar *pbar , MENU *pm ));
void delofbar P((struct menubar *pbar , MENU *pm ));
void addtoall P((MENU *pm ));
MENU *wmenucreate P((int id , char *title ));
void wmenusetdeflocal P((int flag ));
void wmenuattach P((WINDOW *win , MENU *pm ));
void wmenudetach P((WINDOW *win , MENU *pm ));
void wmenudelete P((MENU *pm ));
int wmenuadditem P((MENU *pm , char *str , int shortcut ));
void wmenusetitem P((MENU *pm , int item , char *text ));
void wmenuenable P((MENU *pm , int item , int flag ));
void wmenucheck P((MENU *pm , int item , int flag ));
OBJECT *buildbar P((WINDOW *win ));
void checkmenu P((MENU *pm ));
void menuupdate P((void ));
void delmenubar P((void ));
void do_menu P((EVENT *ep , int msg_buf []));
void setkey P((int id , int item , int key ));
int getascii P((int scan ));
void checksc P((EVENT *ep , int key ));
/* scroll.c */
int getsrcdiff P((WINDOW *win , int left, int top, int right, int bottom, int dh , int dv , int *snit , int diff [][], int *nr_diff ));
void scrollby P((WINDOW *win , int left, int top, int right, int bottom, int dh , int dv ));
void wscroll P((WINDOW *win , int left, int top, int right, int bottom, int dh , int dv ));
void setscrollbars P((WINDOW *win ));
void do_scroll P((int msg_buf []));
void rectsubt P((int *a , int *b , int diff [][], int *nr_diff ));
void autoscroll P((WINDOW *win , int h , int v ));
/* style.c */
void wsetplain P((void ));
void wsethilite P((void ));
void wsetinverse P((void ));
void wsetitalic P((void ));
void wsetbold P((void ));
void wsetbolditalic P((void ));
void wsetunderline P((void ));
void wgettextattr P((TEXTATTR *attr ));
void wsettextattr P((TEXTATTR *attr ));
/* trees.c */
int tr_root P((TREE *t ));
int tr_parent P((TREE *t ));
int tr_sibling P((TREE *t ));
int tr_child P((TREE *t ));
int tr_nchildren P((TREE *t ));
OBJECT *tr_add P((TREE *t , int as_child , int type , int flags , int state , long spec , int x , int y , int width , int height ));
void tr_dump P((TREE *t ));
OBJECT *tr_node P((TREE *t ));
OBJECT *tr_tree P((TREE *t ));
/* window.c */
void winit P((void ));
void winitnew P((int *pargc , char **pargv []));
void wdone P((void ));
WINDOW *wopen P((char *title , void (*drawproc )()));
void wclose P((WINDOW *win ));
WINDOW *getwin P((int handle ));
void wsetactive P((WINDOW *win ));
WINDOW *wgetactive P((void ));
void wgetscrsize P((int *pwidth , int *pheight ));
void wgetscrmm P((int *pmmhor , int *pmmvert ));
void wsettitle P((WINDOW *win , char *title ));
void wsetdefwinsize P((int width , int height ));
void wsetmaxwinsize P((int width , int height ));
void wsetdefwinpos P((int h , int v ));
void wgetwinsize P((WINDOW *win , int *pwidth , int *pheight ));
void _setsize P((WINDOW *win , int h , int v , int width , int height ));
void wsettimer P((WINDOW *win , int dtime ));
void wfleep P((void ));
int wlineheight P((void ));
int wtextwidth P((char *str , int len ));
int wcharwidth P((int c ));